\documentclass[a4paper,10pt]{article}
\usepackage[spanish]{babel}
\usepackage{hyperref}
\usepackage[pdftex]{graphicx}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage[utf8]{inputenc}
\usepackage{float}
\usepackage{subfigure}
\usepackage{multirow}


\hypersetup{
  pdftitle={Redes Neuronales - Trabajo Práctico 2},
  colorlinks,
  citecolor=black,
  filecolor=black,
  linkcolor=black,
  urlcolor=black 
}

%opening
\makeatletter 

\def\materia#1{\def\Materia{#1}}
\def\tptit#1{\def\tptit{#1}}
\def\subtit#1{\def\subtit{#1}}
\def\res#1{\def\res{#1}} %variable res
\def\integrantes#1{\def\integrantes{ {\sffamily {\fontsize{10pt}{0pt} #1} }} }

\def\keyvar#1{\def\keyvar{#1}}

\newcommand{\Res}[1]{
	\begin{abstract}
		\vspace*{-1mm}
		#1
	\end{abstract}
}

\newcommand{\keywords}[1]{
	\begin{center}
		{\footnotesize \textbf{Keywords} \vskip 4pt #1 }
	\end{center}
}


% Carátula
\renewcommand{\maketitle}{
	\begin{titlepage}
		\vspace*{-100pt}
		\let\footnotesize\small
		\let\footnoterule\relax
		\parindent \z@
		\reset@font
		\null\vfil

		\vskip 10\p@
		\hbox{
			\vrule depth 0.9\textheight
			\mbox{\hspace{2em}}
			\vtop{
				\vskip 30\p@
				\begin{center}
					\textsf{Universidad de Buenos Aires} \\
					\textsf{Facultad de Ciencias Exactas y Naturales} \\
					\textsf{Departamento de computación} \\
				\end{center}
	
				\vspace{10pt}
	
				% Título
				\begin{center}
					{\sffamily {\Large \tptit}}
				\end{center}
	
				% Subtítulo
				\begin{center}
					{\sffamily {\textbf{\huge \subtit}}}
				\end{center}
	
				\par
				\hrule height 2pt
				\par
				\begin{center}
					{\fontsize{10pt}{0pt} {
						\sffamily Javier I. Almarza - LU 510/07 - javier.i.almarzaen gmail punto com
 						\par Thomas Fischer - LU 489/08 - puedovolar en gmail punto com
						\par Mariano Semelman - LU 143/08 - marianosoyen gmail punto com }
					} \par
				\end{center}
				\vskip 30\p@

	
				% Abstract
				%\Res{\res}
				%\vskip 10\p@
				% Keywords
				%\keywords{\keyvar}

				\vfill
				\vspace*{0mm}
	
	
				\begin{minipage}[t]{\textwidth}
			%        \begin{minipage}[t]{.55 \textwidth}
			%            \includegraphics{logo_uba.jpg}
			%        \end{minipage}
					\hspace*{-7mm}
				\end{minipage}
			}
		}
 
	\end{titlepage}
	\setcounter{footnote}{0}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%\makeatother
\tptit{Redes Neuronales}
\subtit{Trabajo Práctico II}

\res{
\indent  \\
\indent
}


%\keyvar{} % palabras claves


\begin{document}

\maketitle
\tableofcontents
\setlength{\parskip}{0.2cm}

\newpage
\input{ej1.tex}
\newpage
\input{ej2.tex}
\newpage
\input{ej3.tex}

\end{document}
